#include "GameScene.h"
#include "BaseSprite.h"
#include "SpriteHelper.h"
#include "Global.h"
#include "Scene1.h"
USING_NS_CC;

CCScene* GameScene::playNewGame()
{
	CCScene * scene=NULL;
	do 
	{
		scene=CCScene::create();
		CC_BREAK_IF(!scene);
		/*GameScene *layer=GameScene::create();
		CC_BREAK_IF(!layer);*/

		Scene1 * scenc=new Scene1(scene);
		scenc->RunScene();

		//scene->addChild(layer);
	} while (0);
	return scene;
}

bool GameScene::init()
{
	bool bRet = false;
	do 
	{
		//////////////////////////////////////////////////////////////////////////
		// super init first
		//////////////////////////////////////////////////////////////////////////

		CC_BREAK_IF(! CCLayer::init());

		

		bRet = true;
	} while (0);

	return bRet;
}

